package com.campus.pojo.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "学生宿舍信息")
public class StudentDormDTO {
    @Schema(description = "学生id")
    @NotNull(message = "学生id不能为空")
    private Long id; //学生id

    @Schema(description = "宿舍id")
    @NotNull(message = "宿舍id不能为空")
    private Integer dormId; //宿舍id

    @Schema(description = "床位号")
    @NotNull(message = "床位号不能为空")
    private Integer bedNumber; //床位号
}
